package com.dthunder.dynamictag.domain;

import com.dthunder.util.DbConnection;

public class SqlInit {
	{
		createTagInfo();
	}
	
	public void  createTagInfo() {	
		String sql="create table db2inst1.tag_info(tag_id bigint," +
				"tag_name varchar(255)," +
				"tag_desc varchar(255)," +
				"tag_templet_id varchar(255)" +
				" )";
		DbConnection.executeSQL(sql);
	}
	
	public void  createAttributeInfo() {	
		String sql="create table db2inst1.attributeInfo(" +
				"attr_id bigint," +
				"attr_name varchar(255)," +
				"attr_desc varchar(255))";
		DbConnection.executeSQL(sql);
	}
	
	
	
	

}
